home *** CD-ROM | disk | FTP | other *** search
/ Power Hacker 2003 / Power_Hacker_2003.iso / Exploit and vulnerability / w00w00 / misc / shokdial / Makefile.html < prev    next >
Encoding:
Makefile  |  1998-08-13  |  767 b   |  42 lines

  1. CC = gcc
  2. #CC = cc
  3.  
  4. RM = rm
  5.  
  6. INSTALL = /usr/bin/install
  7.  
  8. # C compiler options
  9. CFLAGS = -g
  10.  
  11. # Libraries to be included
  12. LIBS = -ltermcap
  13.  
  14. # The directory you want to install shokdial in
  15. INSTALL_PREFIX = /usr/local/bin
  16.  
  17. OBJECTS = clear.o errors.o shokdial.o strip.o validate.o
  18.  
  19. # Defines..
  20. # options:
  21. #  BEEP (beep when certain conditions occur)
  22. DEFS = -DBEEP
  23.  
  24. #---------------------------------
  25.  
  26. all: shokdial
  27.  
  28. .c.o:
  29.     $(CC) $(DEFS) $(CFLAGS) -c $<
  30.  
  31. shokdial: $(OBJECTS)
  32.     @echo Now compiling...ShokDial! w00w00!
  33.     $(CC) $(DEFS) $(CFLAGS) -o shokdial $(OBJECTS) $(LIBS)
  34.  
  35. install:
  36.     @echo Installing ShokDial.
  37.     $(INSTALL) -s -m 755 shokdial $(INSTALL_PREFIX)/shokdial
  38.     @echo Enjoy! =)
  39. clean:
  40.     @echo Removing ShokDial from current directory
  41.     $(RM) -f shokdial $(OBJECTS) core
  42.